package cn.jbolt.config.routes;

import cn.jbolt.core.permission.JBoltApiAuthInterceptor;
import com.jfinal.config.Routes;

/**
 * JBolt 内置 admin 后台管理专用路由配置
 */
public class JBoltWechatAdminRoutes extends Routes {
    @Override
    public void config() {
        this.addInterceptor(new JBoltApiAuthInterceptor());
        this.scan("cn.jbolt.wechat.admin.");
    }
}
